// ==========  住户相关 ============//
import constant from '@/utils/constant'
import request from '@/utils/request'

/**
 * 添加住户
 */
export function saveOwner(data) {
	return request({
		url: constant.saveOwner,
		method: 'POST',
		data
	})
}

/**
 * 将身份证拍摄传给后台
 */

export function postIdCard(data) {
	return request({
		url: constant.idCard,
		method: 'POST',
		data
	})
}